package kn.webstd.g4g.commons.dto;

import java.util.Date;
import java.util.Set;
import kn.webstd.tools.commons.dto.AbstractExtendedDto;

/**
 * DTO for the ActivitiesBo.
 */
public class ActivitiesDto extends AbstractExtendedDto {

	private static final long serialVersionUID = 5298332;

	/** Maximum length of startdate property. */
	public static final int LENGTH_STARTDATE = 29;
	/** Maximum length of finaldate property. */
	public static final int LENGTH_FINALDATE = 29;
	/** Maximum length of nombre property. */
	public static final int LENGTH_NOMBRE = 255;
	/** Maximum length of description property. */
	public static final int LENGTH_DESCRIPTION = 255;

	/** Maximum precision of target property. */
	public static final int PRECISION_TARGET = 17;
	/** Maximum scale of target property. */
	public static final int SCALE_TARGET = 17;

	/** Maximum length of uom property. */
	public static final int LENGTH_UOM = 255;
	/** Maximum length of event property. */
	public static final int LENGTH_EVENT = 255;

	// Fields

	private Long idprogram;
	private Long idactivitie;
	private Date startdate;
	private Date finaldate;
	private String nombre;
	private String description;
	private Boolean edit;
	private Double target;
	private Boolean priority;
	private String uom;
	private Long event;
	private Boolean finished;
	private Set<Long> monthlyprogresses;
	private Set<Long> activitieses;
	private Set<Long> correctiveactionses;

	// Constructor

	/** 
	 * Creates a new {@link ActivitiesDto}
	 * 
	 * @author Victor Osorio
	 */
	public ActivitiesDto() {
		super();
	}

	// Property accessors
	/**
	 * Returns the 'idprogram'.
	 *
	 * @return the 'idprogram'
	 */
	public Long getIdprogram() {
		return this.idprogram;
	}

	/**
	 * Set the 'idprogram'.
	 *
	 * @param idprogram the 'idprogram'
	 */
	public void setIdprogram(Long idprogram) {
		this.idprogram = idprogram;
	}

	/**
	 * Returns the 'idactivitie'.
	 *
	 * @return the 'idactivitie'
	 */
	public Long getIdactivitie() {
		return this.idactivitie;
	}

	/**
	 * Set the 'idactivitie'.
	 *
	 * @param idactivitie the 'idactivitie'
	 */
	public void setIdactivitie(Long idactivitie) {
		this.idactivitie = idactivitie;
	}

	/**
	 * Returns the 'startdate'.
	 *
	 * @return the 'startdate'
	 */
	public Date getStartdate() {
		return this.startdate;
	}

	/**
	 * Set the 'startdate'.
	 *
	 * @param startdate the 'startdate'
	 */
	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}

	/**
	 * Returns the 'finaldate'.
	 *
	 * @return the 'finaldate'
	 */
	public Date getFinaldate() {
		return this.finaldate;
	}

	/**
	 * Set the 'finaldate'.
	 *
	 * @param finaldate the 'finaldate'
	 */
	public void setFinaldate(Date finaldate) {
		this.finaldate = finaldate;
	}

	/**
	 * Returns the 'nombre'.
	 *
	 * @return the 'nombre'
	 */
	public String getNombre() {
		return this.nombre;
	}

	/**
	 * Set the 'nombre'.
	 *
	 * @param nombre the 'nombre'
	 */
	public void setNombre(String nombre) {
		this.nombre = nombre;
	}

	/**
	 * Returns the 'description'.
	 *
	 * @return the 'description'
	 */
	public String getDescription() {
		return this.description;
	}

	/**
	 * Set the 'description'.
	 *
	 * @param description the 'description'
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * Returns the 'edit'.
	 *
	 * @return the 'edit'
	 */
	public Boolean getEdit() {
		return this.edit;
	}

	/**
	 * Set the 'edit'.
	 *
	 * @param edit the 'edit'
	 */
	public void setEdit(Boolean edit) {
		this.edit = edit;
	}

	/**
	 * Returns the 'target'.
	 *
	 * @return the 'target'
	 */
	public Double getTarget() {
		return this.target;
	}

	/**
	 * Set the 'target'.
	 *
	 * @param target the 'target'
	 */
	public void setTarget(Double target) {
		this.target = target;
	}

	/**
	 * Returns the 'priority'.
	 *
	 * @return the 'priority'
	 */
	public Boolean getPriority() {
		return this.priority;
	}

	/**
	 * Set the 'priority'.
	 *
	 * @param priority the 'priority'
	 */
	public void setPriority(Boolean priority) {
		this.priority = priority;
	}

	/**
	 * Returns the 'uom'.
	 *
	 * @return the 'uom'
	 */
	public String getUom() {
		return this.uom;
	}

	/**
	 * Set the 'uom'.
	 *
	 * @param uom the 'uom'
	 */
	public void setUom(String uom) {
		this.uom = uom;
	}

	/**
	 * Returns the 'event'.
	 *
	 * @return the 'event'
	 */
	public Long getEvent() {
		return this.event;
	}

	/**
	 * Set the 'event'.
	 *
	 * @param event the 'event'
	 */
	public void setEvent(Long event) {
		this.event = event;
	}

	/**
	 * Returns the 'finished'.
	 *
	 * @return the 'finished'
	 */
	public Boolean getFinished() {
		return this.finished;
	}

	/**
	 * Set the 'finished'.
	 *
	 * @param finished the 'finished'
	 */
	public void setFinished(Boolean finished) {
		this.finished = finished;
	}

	/**
	 * Returns the 'monthlyprogresses'.
	 *
	 * @return the 'monthlyprogresses'
	 */
	public Set<Long> getMonthlyprogresses() {
		return this.monthlyprogresses;
	}

	/**
	 * Set the 'monthlyprogresses'.
	 *
	 * @param monthlyprogresses the 'monthlyprogresses'
	 */
	public void setMonthlyprogresses(Set<Long> monthlyprogresses) {
		this.monthlyprogresses = monthlyprogresses;
	}

	/**
	 * Returns the 'activitieses'.
	 *
	 * @return the 'activitieses'
	 */
	public Set<Long> getActivitieses() {
		return this.activitieses;
	}

	/**
	 * Set the 'activitieses'.
	 *
	 * @param activitieses the 'activitieses'
	 */
	public void setActivitieses(Set<Long> activitieses) {
		this.activitieses = activitieses;
	}

	/**
	 * Returns the 'correctiveactionses'.
	 *
	 * @return the 'correctiveactionses'
	 */
	public Set<Long> getCorrectiveactionses() {
		return this.correctiveactionses;
	}

	/**
	 * Set the 'correctiveactionses'.
	 *
	 * @param correctiveactionses the 'correctiveactionses'
	 */
	public void setCorrectiveactionses(Set<Long> correctiveactionses) {
		this.correctiveactionses = correctiveactionses;
	}

}
